package learn.e.b;

public class Test {
    public void bird(Bird bird){
        bird.fly();
    }
    public void plane(Plane plane){
        plane.fly();
    }
    public void superMan(SuperMan superMan){
        superMan.fly();
    }
    public static void main(String[] args) {
        Test test = new Test();
        test.bird(new Bird());
        test.plane(new Plane());
        test.superMan(new SuperMan());
    }
}
